OTPOptions

constructor(enabled: Boolean? = null, duration: <Error class: unknown class>? = null, length: Int? = null, emailTemplate: AuthCollection.EmailTemplate? = null)

Parameters

enabled

Whether or not OTP is enabled.

duration

How long the OTP code lasts.

length

The length of the OTP code.

emailTemplate

The email template used to send the OTP code.